
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 960px;
            height: 300px;
            border: 1px solid #000;
            margin: 10px auto;
        }

        h1 {
            width: 920px;
            height: 50px;
            border-bottom: 1px solid #000;
            margin: 0 auto;
            line-height: 50px;
            font-size: 18px;
            font-family: '微软雅黑';
            color: #000;
        } 
        img {
            display: block;
            width: 160px;
            height: 68px;
            float: left;
            margin: 20px 10px 25px 20px;
        }
        /* .clearfix::after,.clearfix::before{
            content: ' ';
            display: table;
        }
        .clearfix::after{
            clear: both;
        } */

    </style>
</head>

<body>
    <div class="box">
        <h1>图片展示</h1>

            <img src="goods.jpg">
            <img src="goods.jpg">
            <img src="goods.jpg">
            <img src="goods.jpg">
            <img src="goods.jpg">
            <img src="goods.jpg">
            <img src="goods.jpg">
            <img src="goods.jpg">
            <img src="goods.jpg">
            <img src="goods.jpg">

    </div>
</body>

</html>